cmake_minimum_required(VERSION 3.0.2)
project(odem_pkg)

# 查找catkin的包
find_package(catkin REQUIRED COMPONENTS
  roscpp
  nav_msgs
)

# 声明一个catkin包
catkin_package()

# 指定C++标准
set(CMAKE_CXX_STANDARD 11)

# 添加可执行文件
add_executable(odem_pkg src/odem.cpp)

# 指定要链接的库
target_link_libraries(odem_pkg
  ${catkin_LIBRARIES}
)

# 添加include目录
include_directories(
  ${catkin_INCLUDE_DIRS}
)

